package com.ll.admin.action;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

//管理员管理
@Controller
@RequestMapping("pages/front/manage/*")
public class ManageAction {
    //密码修改
    @RequiresPermissions("password:revise")
    @RequestMapping("password")
    public String password() {
        return "front/manage/password" ;
    }
    //跳转到管理员管理
    @RequiresPermissions("admin:admin")
    @RequestMapping("manageList")
    public String manageList() {
        return "front/manage/manage_list" ;
    }

    //添加用户
    @RequestMapping("manageAdd")
    public String manageAdd() {
        return "front/manage/manage_add" ;
    }
 }
